package org.alex.samples.dao;

import java.util.List;
import java.util.Map;

import org.alex.samples.model.ExamScore;
import org.alex.samples.model.ExamScoreVO;

public interface IExamScoreDAO extends IBaseDAO<ExamScore> {

	public ExamScore getScore(String userId, Integer subjectId);

	public ExamScoreVO getScoreById(Integer scoreId);
	
	public List<ExamScoreVO> getAllScore(Map<String,String> conditionMap);

	public void editScore(String userId, Integer subId, Integer score);

	public List<ExamScore> FindAllScore();

	public List<ExamScore> getScoreBySub(String query);

	public List<ExamScore> getScoreByUserId(String query);

	public List<ExamScore> getScoreByUserName(String query);

	public List<ExamScore> getScoreByDate(String[] date);

	public void updateScore(Integer id, Double score);

}
